package com.thiswhyme.stream.rabbit.receive;

import org.springframework.messaging.Message;

import java.io.IOException;

/**
 * @description: 消息监听接口声明
 * @author: thiswhyme
 * @date: 2021/1/29
 */
public interface IReceiver {

    void onMessage(Message<String> message) throws IOException;
}
